﻿@model ArivisAccounts.Models.ResetPasswordModel

@{
    ViewBag.Title = "ResetPassword";
}

<p class="message-success">@ViewBag.StatusMessage</p>

<h3>Reset password for user: @Html.DisplayFor(m => m.UserName)</h3>

@using (Html.BeginForm("ResetPassword", "User"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()
    @Html.HiddenFor(m => m.UserId)
    @Html.HiddenFor(m => m.UserName)

    <fieldset>
        <legend>Reset Password</legend>
        <table class="editor-table">
            <tr>
                <td class="editor-label">
                    @Html.LabelFor(m => m.NewPassword)
                </td>
                <td class="editor-field">
                    @Html.PasswordFor(m => m.NewPassword)
                </td>
            </tr>
            <tr>
                <td class="editor-label">
                    @Html.LabelFor(m => m.ConfirmPassword)
                </td>
                <td class="editor-field">
                    @Html.PasswordFor(m => m.ConfirmPassword)
                </td>
            </tr>
        </table>
        <input type="submit" value="Reset password" />
    </fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
